package com.java.huxb.day03.utils;

import com.java.huxb.day03.entity.Apple;

import java.util.ArrayList;
import java.util.List;

/**
 * @author huxb
 * @date 2020/3/3 0003 下午 9:22
 */
public class AppleUtil {
    public static List<Apple> getAppleList() {
        List<Apple> appleList = new ArrayList<>(10);
        for (int i = 2; i < 12; i++) {
            appleList.add(new Apple(i + "", "apple" + i));
        }
        return appleList;
    }
}
